/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

$(document).ready(initialize);

function initialize() {
    $("#menu li").click(function() {
        $("#menu li").removeClass("active");
        $(this).addClass("active");
        $("#main-container").load($(this).attr("id"));
    });
}